<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead">
            <em>基础配置</em>
        </div>
    </div>
    <div class="panel-body"  style="padding-top:30px;">
        <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Head_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-head_image" class="form-control" size="50" name="row[head_image]" type="text" value="{$row.head_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-head_image" class="btn btn-danger faupload" data-input-id="c-head_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-head_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-head_image" class="btn btn-primary fachoose" data-input-id="c-head_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-head_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-head_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Service_mobile')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-service_mobile" class="form-control" name="row[service_mobile]" type="text" value="{$row.service_mobile|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Cooperate_mobile')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-cooperate_mobile" class="form-control" name="row[cooperate_mobile]" type="text" value="{$row.cooperate_mobile|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('User_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-user_image" class="form-control" size="50" name="row[user_image]" type="text" value="{$row.user_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-user_image" class="btn btn-danger faupload" data-input-id="c-user_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-user_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-user_image" class="btn btn-primary fachoose" data-input-id="c-user_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-user_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-user_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-user_name" class="form-control" name="row[user_name]" type="text" value="{$row.user_name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('User_intro')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-user_intro" class="form-control" name="row[user_intro]" type="text" value="{$row.user_intro|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Skill_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-skill_image" class="form-control" size="50" name="row[skill_image]" type="text" value="{$row.skill_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-skill_image" class="btn btn-danger faupload" data-input-id="c-skill_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-skill_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-skill_image" class="btn btn-primary fachoose" data-input-id="c-skill_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-skill_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-skill_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Skill_name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-skill_name" class="form-control" name="row[skill_name]" type="text" value="{$row.skill_name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Skill_intro')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-skill_intro" class="form-control" name="row[skill_intro]" type="text" value="{$row.skill_intro|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Shop_image')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-shop_image" class="form-control" size="50" name="row[shop_image]" type="text" value="{$row.shop_image|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-shop_image" class="btn btn-danger faupload" data-input-id="c-shop_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-shop_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-shop_image" class="btn btn-primary fachoose" data-input-id="c-shop_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-shop_image"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-shop_image"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-shop_name" class="form-control" name="row[shop_name]" type="text" value="{$row.shop_name|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Shop_intro')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-shop_intro" class="form-control" name="row[shop_intro]" type="text" value="{$row.shop_intro|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Settle_day')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-settle_day" data-rule="required" class="form-control" name="row[settle_day]" type="number" value="{$row.settle_day|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Comment_day')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-comment_day" data-rule="required" class="form-control" name="row[comment_day]" type="number" value="{$row.comment_day|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_minute')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-cancel_minute" data-rule="required" class="form-control" name="row[cancel_minute]" type="number" value="{$row.cancel_minute|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Accept_nums')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-accept_nums" data-rule="required" class="form-control" name="row[accept_nums]" min="0" type="number" value="{$row.accept_nums|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Shop_accept_nums')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-shop_accept_nums" data-rule="required" class="form-control" name="row[shop_accept_nums]" type="number" value="{$row.shop_accept_nums|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Service_nums')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-service_nums" data-rule="required" class="form-control" name="row[service_nums]" type="number" value="{$row.service_nums|htmlentities}">
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                </div>
            </div>
        </form>
    </div>
</div>
